Uploading Groovy code to N4

You can upload Groovy classes to the N4 database via the UI available under Administration>System>Groovy Plug-ins. This UI follow N4 standards - just click the + icon to upload a new class. A form appears where you can paste (or type) the Groovy Code. When you submit this form, N4 checks the code for validity and stores it under an ID matching the Class name defined in the code.